<!DOCTYPE html>
<html>
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <title></title>
    <link href="/styles/base.css" rel="stylesheet" type="text/css">
    <link href="/styles/regist.css" rel="stylesheet" type="text/css">
    <script type="text/javascript" src="/js/jquery/jquery.js"></script>
    <script type="text/javascript" src="/js/plugins/jquery-form/jquery.form.js"></script>
    <script src="/js/plugins/js-cookie/js.cookie.min.js"></script>
    <script src="/js/vue/md5.js"></script>
    <script type="text/javascript" src="/js/vue/common.js"></script>
    <script type="text/javascript" src="/js/system/regist.js"></script>

</head>
<body>
<script>
    $(function () {

        // 发送一个请求，获取当前登录用户

        // 注意：要获取当前登录用户信息，必须将之前登录成功返回的 token 值
        // 之前约定，请求时通过请求头将 token 传入接口服务器
        //$.get("http://localhost:8080/users/getCurrentUser",{},function (data) {
        //    console.log(data); // 当前登录用户信息
        //});

        ajaxGet("/users/getCurrentUser", {}, function (data) {
            console.log(data);
        });
    });

</script>



</body>
</html>